
import { request } from "@/http/axios"
const baseURL = import.meta.env.VITE_TRAIN_API
export interface TagOption {
  name: string
  [key: string]: any
}

// 关键事件默认值设置
export function getSettingApi(data:any) {
  return request({
    baseURL,
    url: `toksim/common_setting/instance_setting/search`,
    method: "post",
    data
  })
}
// 新增
export function getCreateApi(data:any) {
  return request({
    baseURL,
    url: `toksim/common_setting/instance_setting/create`,
    method: "post",
    data
  })
}
